﻿<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" default-access="property" default-lazy="true" namespace="Cms.Domain" assembly="Cms.Domain">
  <class name="VisitedAdminUrl" table="cmsVisitedAdminUrl">
    <cache usage="read-write" />
    <id name="ID" type="System.Int32" unsaved-value="0">
      <column name="ID" />
      <generator class="identity" />
    </id>
    <property name="Url" type="System.String">
      <column name="Url" length="1000000" not-null="true" />
    </property>
    <property name="Header" type="System.String">
      <column name="Header" not-null="true" />
    </property>
    <property name="ImageUrl" type="System.String">
      <column name="ImageUrl" not-null="false" />
    </property>
    <property name="Timestamp" type="System.DateTime">
      <column name="Timestamp" not-null="true" />
    </property>
    <many-to-one class="Site" name="CurrentSite">
      <column name="CurrentSiteID" not-null="true" />
    </many-to-one>
    <many-to-one class="Administrator" name="Administrator">
      <column name="AdministratorID" not-null="true" />
    </many-to-one>
  </class>
</hibernate-mapping>